#include "MyString.h"
#include<stdio.h>
// int main()
// {
//     MyString obj;
//     Initialize(&obj,"helloworld");
//     Print(&obj);

//     printf("%d\n",Size(&obj));

//     MyString obj1;
//     Initialize(&obj1,"world");
//     printf("isEqual:%d\n",IsEqual(&obj,&obj1));
//     printf("isContains:%d\n",IsContains(&obj,&obj1));

//     RemoveString(&obj1,"rl");

//     Print(&obj1);

//     printf("%c\n",*AtIndex(&obj,1));

//     InsertString(&obj,"DEFINE",1);
//     Print(&obj);

// }


int main()
{
    Init_MyString(obj,"helloworld");
    // Initialize(&obj,"hello");
    obj.print(&obj);
    obj.insertString(&obj,"world",4);
    obj.print(&obj);
}